package com.xxx.modules.sys.domain;

import com.afcatstar.commons.BaseDomain;

import java.util.Date;

public class TbTokenDomain extends BaseDomain<TbTokenDomain> {

	private static final long serialVersionUID = 1L;	
	
	private Long userId;//   

	private String token;//   token

	private Date expireTime;//   过期时间

	private Date updateTime;//   更新时间


	public Long getUserId() {
	    return this.userId;
	}

	public void setUserId(Long userId) {
	    this.userId = userId;
	}

	public String getToken() {
	    return this.token;
	}

	public void setToken(String token) {
	    this.token = token;
	}

	public Date getExpireTime() {
	    return this.expireTime;
	}

	public void setExpireTime(Date expireTime) {
	    this.expireTime = expireTime;
	}

	public Date getUpdateTime() {
	    return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
	    this.updateTime = updateTime;
	}

    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("TbToken [");   
        builder.append("userId=");
        builder.append(userId);
        builder.append(", token=");
        builder.append(token);
        builder.append(", expireTime=");
        builder.append(expireTime);
        builder.append(", updateTime=");
        builder.append(updateTime);
        builder.append("]");
        return builder.toString();
    }
    
   	public Long getId(){
   		return null;
   	}

	public void setId(Long id){
	
	}
}

